From 8dd23be7923e6a7ce018efe000d3d7341dd9ea58 Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 2 May 2016 15:50:53 +0200 Subject: [PATCH] Drop "-march=native" from Projucer build-flags fixes FTBFS on a number of archs. --- debian/patches/debian_make-projucer.patch | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/debian/patches/debian_make-projucer.patch b/debian/patches/debian_make-projucer.patch index a65e1320..90d42f9e 100644 --- a/debian/patches/debian_make-projucer.patch +++ b/debian/patches/debian_make-projucer.patch @@ -15,8 +15,12 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ifeq ($(CONFIG),Debug) BINDIR := build LIBDIR := build -@@ -18,13 +20,13 @@ - TARGET_ARCH := -march=native +@@ -15,16 +17,16 @@ + OUTDIR := build + + ifeq ($(TARGET_ARCH),) +- TARGET_ARCH := -march=native ++ TARGET_ARCH := endif - CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_6D53C8B4=1" -D "JUCE_APP_VERSION=4.2.1" -D "JUCE_APP_VERSION_HEX=0x40201" -I /usr/include -I /usr/include/freetype2 -I ../../JuceLibraryCode -I ../../../../modules @@ -34,8 +38,12 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ CLEANCMD = rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR) endif -@@ -38,13 +40,13 @@ - TARGET_ARCH := -march=native +@@ -35,16 +37,16 @@ + OUTDIR := build + + ifeq ($(TARGET_ARCH),) +- TARGET_ARCH := -march=native ++ TARGET_ARCH := endif - CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_6D53C8B4=1" -D "JUCE_APP_VERSION=4.2.1" -D "JUCE_APP_VERSION_HEX=0x40201" -I /usr/include -I /usr/include/freetype2 -I ../../JuceLibraryCode -I ../../../../modules -- 2.30.2